angular.module('${menuCode}')
.controller("${widgetCode}Ctrl",function($scope,AppKit){
	$scope.closeModal = function() {
		AppKit.closeModal();
	};
	
	$scope.loadCostDetailData = function() {
		var url='/aeaiem/services/DailyReiDataProvider/rest/daily-rei-detail-tast/'+$scope.detailId ;
		var promise = AppKit.getJsonApi(url);  
		promise.success(function(rspJson){
			$scope.costDetailData = rspJson;
		})
	};
	
	$scope.loadCostDetailData();
	
});